package com.lyf.scm.plan.api.dto;

import com.lyf.scm.common.model.BaseSearchDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * description:
 *      gmv指标DTO
 * @author: haodong
 * @data: 2020/7/8 16:39
 */

@Data
@ApiModel("GMV指标")
public class GmvTargetDTO extends BaseSearchDTO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("id集合")
    private List<Long> idList;

    @ApiModelProperty("全渠道编码")
    private String allChannelCode;

    @ApiModelProperty("销售组织（公司）编码")
    private String salesOrganizationCode;

    @ApiModelProperty("销售组织（公司）名称")
    private String salesOrganizationName;

    @ApiModelProperty("原始目标gmv")
    private BigDecimal gmvOriginalTarget;

    @ApiModelProperty("目标GMV")
    private BigDecimal gmvTarget;

    @ApiModelProperty("实际GMV")
    private BigDecimal gmvRealTarget;

    @ApiModelProperty("目标毛利额")
    private BigDecimal grossProfitTarget;

    @ApiModelProperty("实际毛利额")
    private BigDecimal grossProfitRealTarget;

    @ApiModelProperty("计划开始日期")
    private Date planStartDate;

    @ApiModelProperty("计划结束日期")
    private Date planEndDate;

    @ApiModelProperty("销售组织（公司）编码集合")
    private List<String> salesOrganizationList;
    /**
     * 分组参数
     */
    private String groupKey;

    private List<GmvTargetDTO> gmvTargetList;


}
